package com.rightsidetech.activity.dto.request.store;

import com.rightsidetech.commom.base.TimeQueryRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

/**
 * @Author: yhr
 * @Date: 2022-02-08 15:36
 */
@Data
public class MtActivityServicePageReq extends TimeQueryRequest implements Serializable {
    @ApiModelProperty("活动名称")
    private String activityName;
    @ApiModelProperty("状态：0待审核1审核通过，进行中2驳回3结束")
    private Byte status;
    @ApiModelProperty("时间类型, 1-活动时间, 2-创建时间")
    @Range(min = 1, max = 2, message = "时间类型不正确")
    private Byte timeType;
}
